﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OLTypeAdd.aspx.cs" Inherits="CJJCH.Web.Manage.OLTypeAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/SystemCss.css" rel="stylesheet" type="text/css" />
    <script src="../JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../lhgdialog/lhgcore.min.js" type="text/javascript" language="javascript"></script>
    <script src="../lhgdialog/lhgdialog.js" type="text/javascript" language="javascript"></script>
    <script src="../Script/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="../Script/JQcheck.js" type="text/javascript"></script>
    <script src="../JScript/Calendar/WdatePicker.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function checkform() {
            if (IsNothing($("#txtOnline"), "请输入主题名称！")) {
                return false;
            }
            return true;
        }
        function CheckIitem() {
            if (IsNothing($("#txtItem"), "请输入条目名称！")) {
                return false;
            }
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <uc:OnlineTop ID="OnlineTop1" runat="server" IIndex="4" />
        </div>
        <div runat="server" id="divHidden" visible="false">
            <asp:Label ID="lblSecondId" runat="server"></asp:Label>
            <asp:Label ID="lblFirstID" runat="server"></asp:Label>
            <asp:Label ID="lblSecondName" runat="server"></asp:Label>
            <asp:Label ID="lblGuid" runat="server"></asp:Label>
        </div>
        <fieldset style="border: 1px solid #cccccc; margin-bottom: 8px; padding: 4px 30px;
            padding-bottom: 10px; text-align: left;">
            <legend>报名主题信息</legend>
            <br />
            <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
                <tr>
                    <td width="1" height="100%" class="Left">
                    </td>
                    <td height="100%" valign="top">
                        <table cellpadding="0" cellspacing="0" class="add_table" style="width: 98%; margin: 10px auto;"
                            bgcolor="#FFFFFF">
                            <tr>
                                <td width="120px" align="right" style="padding: 2px 10px 2px 10px;" valign="middle"
                                    class="tdBg1">
                                    主题名称
                                </td>
                                <td align="left" style="padding: 2px 10px 2px 10px;" valign="middle">
                                    <asp:TextBox ID="txtOnline" runat="server" class="InputSearch_x1" Width="378px"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                        <%--</div>--%>
                    </td>
                    <td width="0" height="100%" class="Right">
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset style="border: 1px solid #cccccc; margin-bottom: 8px; padding: 4px 30px;
            padding-bottom: 10px; text-align: left;">
            <legend>报名条目信息</legend>
            <br />
           <div class="RBodyTable_x2 Link_font" style="width: 100%;">
                                        <div  id="divOitem" runat="server" style="display: none;">
                                            <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="font">
                                                <tr>
                                                    <th width="70%" align="center" valign="middle" class="HeaderBg">
                                                        条目名称
                                                    </th>
                                                    <th width="30%" align="center" valign="middle" class="HeaderBg">
                                                        操作
                                                    </th>
                                                </tr>
                                                <asp:Repeater ID="rptType" runat="server" OnItemDataBound="rptType_ItemDataBound">
                                                    <ItemTemplate>
                                                        <tr class="tdBg1">
                                                            <td align="center" valign="middle">
                                                                <asp:TextBox ID="txtTypeName" runat="server" class="InputSearch_x1" Width="358px"></asp:TextBox>
                                                            </td>
                                                            <td align="center" valign="middle">
                                                                <asp:LinkButton ID="lbtnEdit" runat="server" OnClick="lbtnEdit_Click">修改</asp:LinkButton>
                                                                <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtbDel_Click">删除</asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </table>
                                        </div>
                                        <table>
                                            <tr>
                                                <th width="70%" align="center" valign="middle" class="HeaderBg">
                                                    条文名称
                                                </th>
                                                <th width="30%" align="center" valign="middle" class="HeaderBg">
                                                    操作
                                                </th>
                                            </tr>
                                            <tr class="tdBg1">
                                                <td align="center" valign="middle">
                                                    <asp:TextBox ID="txtItem" runat="server" class="InputSearch_x1" Width="358px"></asp:TextBox>
                                                </td>
                                                <td align="center" valign="middle">
                                                    &nbsp;&nbsp;&nbsp;
                                                    <asp:LinkButton ID="lbtbAdd" runat="server" OnClick="lbtnAdd_Click" Text="添加" ></asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
        </fieldset>
        <fieldset style="border: 1px solid #cccccc; margin-bottom: 8px; padding: 4px 30px;
            padding-bottom: 10px; text-align: left;">
            <table width="100%">
                <tr>
                    <td align="center">
                        <asp:Button ID="btnAdd" runat="server" Text="保存" CssClass="BtnSearch_x1" OnClick="btnAdd_Click" />
                    </td>
                </tr>
            </table>
            <br />
        </fieldset>
    </div>
    </form>
</body>
</html>
